package com.zcq.dm.utils;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Demo {
    @Value("${application.haixia.file.prefix:2222}")
    private Integer age;

    public void getGG(){
        System.out.println(this.age);
    }
}
